<?
package('jpunit.framework');

/**
 * $Id: AssertionFailedError.php,v 1.7 2004/08/26 00:51:28 japha Exp $
 *
 * Thrown when an assertion has failed.
 *
 * @author <a href="mailto:gantt@cs.montana.edu">Ryan Gantt</a>
 * @version $Revision: 1.7 $
 */
class AssertionFailedError extends _Exception
{
	/**
	 * Creates a new AssertionFailedError with the specified detail message. The method then calls the
	 * Throwable::setClassname() method in order to set the name of the class to show as the first entry
	 * in the stack trace.
	 *
	 * @param message The message to show when this exception is caught or left uncaught
	 */
	public function __construct( $message ) 
	{
		parent::setClassname('jpunit.framework.AssertionFailedError');
		parent::__construct( $message );
	}
}
?>